/*
 * <Pezad Platformer>
 * Copyright 2008 Shayne Riley
 * 
 * This file is part of <Pezad Platformer>.
 * 
 * <Pezad Platformer> is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * <Pezad Platformer> is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with <Pezad Platformer>.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * To contact the authors on questions or issues regarding the license,
 * you may send an email to <shayner@gmail.com> or write to
 * Shayne Riley / P.O. Box 1092 / McCook, NE 69001.
 */

#ifndef INPUTENTRY_H_
#define INPUTENTRY_H_

#include <SDL/SDL.h>

namespace pzdControl
{

class InputEntry
{
public:
	enum SpecialId
	{
		QUIT = 0xFF01
	};

	InputEntry(SDL_KeyboardEvent& event);
	InputEntry(SpecialId id, bool pressed);

	virtual ~InputEntry();
	
	Uint16 getId();
	Sint16 getState();
private:
	Uint16 mId;
	Sint16 mState;
};

}

#endif /*INPUTENTRY_H_*/
